home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / B-C / C++ FAQ Reference 1.0.sit / C++ FAQ Reference 1.0.rsrc / STR#_138.txt < prev    next >
Encoding:
Text File  |  1993-06-30  |  1.5 KB  |  52 lines

  1. What is inheritance?
  2.  
  3. Ok, ok, but what is inheritance?
  4.  
  5. How do you express inheritance in C++?
  6.  
  7. What is 'incremental programming'?
  8.  
  9. Should I pointer-cast from a derived class to its base class?
  10.  
  11. Derived* --> Base* works ok; why doesn't Derived** --> Base** work?
  12.  
  13. Does array-of-Derived is-NOT-a-kind-of array-of-Base mean arrays are bad?
  14.  
  15. What is a 'virtual member function'?
  16.  
  17. What is dynamic dispatch?  Static dispatch?
  18.  
  19. Can I override a non-virtual fn?
  20. Inheritance -- conformance
  21.  
  22. Can I 'revoke' or 'hide' public member fns inherited from my base class?
  23.  
  24. Is a 'Circle' a kind-of an 'Ellipse'?
  25.  
  26. Are there other options to the 'Circle is/isnot kind-of Ellipse' dilemma?
  27.  
  28. Why can't I access 'private' things in a base class from a derived class?
  29.  
  30. What's the difference between 'public:', 'private:', and 'protected:'?
  31.  
  32. How can I protect subclasses from breaking when I change internal parts?
  33. Inheritance -- constructors and destructors
  34.  
  35. Why does base ctor get *base*'s virtual fn instead of the derived version?
  36.  
  37. Does a derived class dtor need to explicitly call the base destructor?
  38. Inheritance -- private and protected inheritance
  39.  
  40. How do you express 'private inheritance'?
  41.  
  42. How are 'private derivation' and 'containment' similar? dissimilar?
  43.  
  44. Should I pointer-cast from a 'privately' derived class to its base class?
  45.  
  46. Should I pointer-cast from a 'protected' derived class to its base class?
  47.  
  48. What are the access rules with 'private' and 'protected' inheritance?
  49.  
  50. Do most C++ programmers use containment or private inheritance?
  51.  
  52.